import request from "@/common/request"

//试卷管理分页展示
export const studyexamPage = queryForm => {
	return request("get", "/study/exam/studyExam/page", queryForm)
}
//试卷管理列表展示
export const studyexamList = queryForm => {
	return request("get", "/study/exam/studyExam/list", queryForm)
}
//试卷管理详情
export const studyexamInfo = id => {
	return request("get", "/study/exam/studyExam/info", {
		id: id,
	})
}
//试卷管理信息保存
export const studyexamSave = data => {
	return request("post", "/study/exam/studyExam/save", data)
}
//试卷管理信息修改
export const studyexamEdit = data => {
	return request("post", "/study/exam/studyExam/edit", data)
}
//试卷管理信息删除
export const studyexamDel = id => {
	return request("post", "/study/exam/studyExam/delete?id=" + id)
}
//试卷管理批量删除
export const studyexamDelBatch = ids => {
	return request("post", "/study/exam/studyExam/deleteBatch", ids)
}
//试卷管理动态表头导出
export const studyexamDynamicExport = data => {
	return request("eptpost", "/study/exam/studyExam/exportDynamic", data)
}
export const studyexamCopy = id => {
	return request("post", "/study/exam/studyExam/copy", { id: id })
}
export const studyexamEarlyTermination = id => {
	return request("post", "/earlyTermination", { id: id })
}
